<?php
/**
 * Created by PhpStorm.
 * User: july
 * Date: 2018/1/3
 * Time: 下午3:38
 */

namespace common\mq\models;


use yii\db\ActiveRecord;

/**
 * Class MessageServiceTransferLogModel
 * @package common\mq\models
 *
 * @property integer $id
 * @property string $source_queue_name
 * @property string $source_message_id
 * @property string $target_queue_name
 * @property integer $target_message_id
 * @property integer $status
 * @property string $remark
 * @property string $created_time
 */
class MessageServiceTransferLogModel extends ActiveRecord
{
    const SEND_SUCCESS = 1;
    const SEND_FAILED = 0;

    public static function tableName()
    {
        return "b2b_support.bizp_message_service_transfer_log";
    }
}